package com.smartwasser.yunhtgl.apphtgl.activity;

import android.view.View;
import android.widget.EditText;
import android.widget.TextView;

import com.smartwasser.yunhtgl.apphtgl.R;
import com.smartwasser.yunhtgl.apphtgl.base.BaseActivity;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

/**
 * Created by xuxin on 2017/12/14 0014.
 * <p>
 * 注册
 */

public class RegisterActivity extends BaseActivity {
    @BindView(R.id.tv_toolbar)
    TextView tv_toolbar;
    @BindView(R.id.register_phone)
    EditText register_phone;
    @BindView(R.id.register_code)
    EditText register_code;
    @BindView(R.id.register_get)
    TextView register_get;
    @BindView(R.id.register_pd)
    EditText register_pd;
    @BindView(R.id.register_pd_sure)
    EditText register_pd_sure;

    @Override
    public void setContentLayout() {
        setContentView(R.layout.activity_register);
        ButterKnife.bind(this);
    }

    @Override
    public void initView() {
        tv_toolbar.setText("账号注册");
    }

    @Override
    public void initData() {

    }

    @Override
    @OnClick({R.id.back, R.id.register_ok})
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.back:
                finish();
                break;
            case R.id.register_ok:
                showResult("还没写好呢");
                break;
        }
    }
}
